﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GMLogging;

namespace ThouShaltNotBrick.Models
{
    public sealed class CampaignsData
    {
        #region Properties
        private List<string> mCampaigns;
        #endregion

        #region Constructors
        public CampaignsData(List<string> pCampaigns)
        {
            if (pCampaigns == null)
            {
                Exception e = new ArgumentNullException("pCampaigns");
                Logger.Error(e.Message);
                throw e;
            }

            mCampaigns = pCampaigns;
        }
        #endregion

        #region Methods
        public List<string> GetCampaigns()
        {
            return new List<string>(mCampaigns);
        }
        #endregion
    }
}